package com.hdoit.ares.logical.goods.model;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Entity;
import com.tennetcn.common.message.ModelBase;
/**
 * @author      yujinhui
 * @email       
 * @createtime  2018年02月06日 10:41:30
 * @comment
 */
@Entity
@Table(name="goods_info")
public class GoodsInfo extends ModelBase{
    //商品id
    @Id
    @Column(name="id")
    private String id;

    //商品名称
    @Column(name="name")
    private String name;

    //商品价格
    @Column(name="price")
    private double price;

    //商品描述
    @Column(name="description")
    private String description;

    //商品类型
    @Column(name="type")
    private String type;

    //是否销售
    @Column(name="sale")
    private String sale;

    //结算价格
    @Column(name="dealPrice")
    private double dealPrice;

    //商品标记
    @Column(name="goodsMark")
    private String goodsMark;

    //子类型
    @Column(name="subType")
    private String subType;

    //假删除标识符
    @Column(name="deleteMark")
    private int deleteMark;

    //标题
    @Column(name="title")
    private String title;

    public String getId(){
        return this.id;
    }
    public void setId(String id){
         this.id=id;
    }

    public String getName(){
        return this.name;
    }
    public void setName(String name){
         this.name=name;
    }

    public double getPrice(){
        return this.price;
    }
    public void setPrice(double price){
         this.price=price;
    }

    public String getDescription(){
        return this.description;
    }
    public void setDescription(String description){
         this.description=description;
    }

    public String getType(){
        return this.type;
    }
    public void setType(String type){
         this.type=type;
    }

    public String getSale(){
        return this.sale;
    }
    public void setSale(String sale){
         this.sale=sale;
    }

    public double getDealPrice(){
        return this.dealPrice;
    }
    public void setDealPrice(double dealPrice){
         this.dealPrice=dealPrice;
    }

    public String getGoodsMark(){
        return this.goodsMark;
    }
    public void setGoodsMark(String goodsMark){
         this.goodsMark=goodsMark;
    }

    public String getSubType(){
        return this.subType;
    }
    public void setSubType(String subType){
         this.subType=subType;
    }

    public int getDeleteMark(){
        return this.deleteMark;
    }
    public void setDeleteMark(int deleteMark){
         this.deleteMark=deleteMark;
    }

    public String getTitle(){
        return this.title;
    }
    public void setTitle(String title){
         this.title=title;
    }

}